package junitTest;

import com.alibaba.fastjson.JSON;
import javaTest05.exercise02.dto.MessageDto;
import javaTest05.exercise02.dto.MsgType;
import javaTest05.utils.SocketUtils;

import java.util.Arrays;


public class Test {
    public static void main(String[] args) {
        String str = "a /ST 1111";
        int index= str.lastIndexOf("/ST");
        System.out.println(str.substring(0,index));
        System.out.println(str.substring(index+4));
    }
}
